#include <QApplication>
#include <fstream>
#include "../pb/map.pb.h"
#include "map.h"

int main(int argc, char **argv) {
	GOOGLE_PROTOBUF_VERIFY_VERSION;
	
	QApplication app(argc, argv);
	
	Jimbo::Map source;
	std::fstream input("map.pb", std::ios::in | std::ios::binary);
	
	if (!source.ParseFromIstream(&input)) {
		return -1;
	}
	
	Map map(source);
	
	return app.exec();
}
